OTP\Handler\Forms\WooCommerceProductVendors S

Total Complexity 42
Dependencies 9
Dependents 0
Total lines 339
Lines of code 176
Logical lines of code 96
Comment lines 121
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
processFormFields()
A
54 8 18
checkIntegrity()
S
60 5 12
sendAjaxOTPRequest()
S
52 4 24
checkIntegrityAndValidateOTP()
S
56 4 18
miniorange_register_wc_script()
S
56 2 17
__construct()
S
58 2 15
handle_form_options()
S
61 2 13
mo_add_phone_field()
S
61 2 12
checkIfOTPWasSent()
S
73 2 5
assertOTPField()
S
72 2 5
reg_fields_errors()
S
67 2 8
get_phone_number_selector()
S
71 2 6
handle_form()
S
65 1 8
isPhoneNumberAlreadyInUse()
S
69 1 6
unset_otp_session_variables()
S
80 1 3
handle_post_verification()
S
79 1 3
handle_failed_verification()
S
79 1 3